import request from '@/utils/request'
// 水机


//获取水机列表
export function getPropertyList(params) {
    return request({
        url: '/expenses/property',
        method: 'get',
        params
    })
}

//获取社区详情
export function getPropertyDetail(params) {
    return request({
        url: '/expenses/property/detail',
        method: 'get',
        params
    })
}
export function PropertyDetail(params) {
    return request({
        url: '/expenses/property/PropertyDetail',
        method: 'get',
        params
    })
}
export function getPropertySelectList(params) {
    return request({
        url: '/expenses/property/getSelectLists',
        method: 'get',
        params
    })
}
//添加
export function createProperty(data) {
    return request({
        url: '/expenses/property/create',
        method: 'post',
        data
    })
}

//修改
export function updateProperty(data) {
    return request({
        url: '/expenses/property/update',
        method: 'put',
        data
    })
}


//修改
export function changePropertyFiledStatus(data) {
    return request({
        url: '/expenses/property/changeFiledStatus',
        method: 'put',
        data
    })
}


//删除
export function delProperty(data) {
    return request({
        url: '/expenses/property/delete',
        method: 'delete',
        data
    })
}


